import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';

import {RoleRoutingModule} from './role-routing.module';
import {RoleInfoComponent} from './role-info/role-info.component';
import {NzFormModule} from "ng-zorro-antd/form";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {NzInputModule} from "ng-zorro-antd/input";
import {NzSelectModule} from "ng-zorro-antd/select";
import {NzButtonModule} from "ng-zorro-antd/button";
import {RoleEditComponent} from './role-edit/role-edit.component';
import {NzSpinModule} from "ng-zorro-antd/spin";
import {NzTableModule} from "ng-zorro-antd/table";
import {NzIconModule} from "ng-zorro-antd/icon";
import {NzPopconfirmModule} from "ng-zorro-antd/popconfirm";
import {RoleSelectionComponent} from "./role-selection/role-selection.component";
import {NzPaginationModule} from "ng-zorro-antd/pagination";
import {RoleUsersComponent} from './role-users/role-users.component';
import {NzPageHeaderModule} from "ng-zorro-antd/page-header";
import {NzSwitchModule} from "ng-zorro-antd/switch";
import {BarnPipeModule} from "../../../../barn-pipe.module";
import { RoleMenusComponent } from './role-menus/role-menus.component';


@NgModule({
  declarations: [RoleInfoComponent, RoleEditComponent, RoleSelectionComponent, RoleUsersComponent, RoleMenusComponent],
  exports: [
    RoleInfoComponent,
    RoleSelectionComponent
  ],
  imports: [
    CommonModule,
    RoleRoutingModule,
    NzFormModule,
    ReactiveFormsModule,
    NzInputModule,
    NzSelectModule,
    NzButtonModule,
    NzSpinModule,
    NzTableModule,
    NzIconModule,
    NzPopconfirmModule,
    NzPaginationModule,
    NzPageHeaderModule,
    NzSwitchModule,
    FormsModule,BarnPipeModule
  ]
})
export class BarnRoleModule {
}
